package org.foj.dto {

[RemoteClass(alias="org.foj.model.Comment")]
public class Comment {

  public var id:int;
  public var issue:Issue;
  public var author:String;
  public var createdDate:Date;
  public var commentText:String;

  public function Comment(comment:* = null) {
    if (comment != null) {
      this.id = comment.id;
      this.author = comment.author;
      this.createdDate = comment.createdDate;
      this.commentText = comment.commentText;
      this.issue = new Issue(comment.issue);
    }
  }

}
}